﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BakalarskaPraca.Forms
{
    public partial class InputForm : Form
    {
        public InputForm()
        {
            InitializeComponent();
        }

        private void CancelBtnClick(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }

        private void LoadModelBtnClick(object sender, EventArgs e)
        {
            if (File.Exists(Properties.Settings.Default.InputFilePath))
            {
                this.DialogResult = DialogResult.OK;
            }
            else
            {
                MessageBox.Show("Selected file does not exist.", "Warning", MessageBoxButtons.OK);
            }
        }
    }
}
